package com.atguigu.gmall.common.constant;

/**
 * @author lfy
 * @Description Redis一些常量
 * @create 2023-07-17 16:22
 */
public class RedisConst {

    public static final String INDEXPAGE_CATEGORY_TREE_KEY = "categorytree";


    public static final String SKUINFO = "sku:info:";

    public static final String BITMAP_SKUID = "bitmap:skuids";
    public static final String LOCK_COMMON_PREFIX = "lock:";
    public static final String LOCK_SKUINFO = "lock:skuinfo:";

    public static final String HOTSCORE_SKU = "hotscore:sku:";
    public static final String LOGIN_USER = "login:user:";
    public static final String USER_TOKEN_HEADER = "token";
    public static final String USER_TEMPID_HEADER = "userTempId";
    public static final String USER_ID_HEADER = "UserId";
    public static final String CART_INFO = "cart:info:";
    public static final Integer CART_SIZE = 100;
    public static final String DEREPEAT_TOKEN = "derepeat:token:";
    public static final String ZHANWEI_CHAR = "x";
    public static final String RETRY_COUNT = "retry:count:";
}
